package org.example.partten.builder;

import org.example.partten.builder.builder.Builder;
import org.example.partten.builder.product.Product;
import org.springframework.stereotype.Component;

/**
 * @author 22449
 */
public class Director {

    private Builder builder;

    public Director(Builder builder) {
        this.builder = builder;
    }

    public Product construct() {
        return builder.construct();
    }

}
